filter3(cons2(X, Y), 0, M) -> cons2(0, n__filter3(activate1(Y), M, M))
filter3(cons2(X, Y), s1(N), M) -> cons2(X, n__filter3(activate1(Y), N, M))
sieve1(cons2(0, Y)) -> cons2(0, n__sieve1(activate1(Y)))
sieve1(cons2(s1(N), Y)) -> cons2(s1(N), n__sieve1(filter3(activate1(Y), N, N)))
nats1(N) -> cons2(N, n__nats1(s1(N)))
zprimes -> sieve1(nats1(s1(s1(0))))
filter3(X1, X2, X3) -> n__filter3(X1, X2, X3)
sieve1(X) -> n__sieve1(X)
nats1(X) -> n__nats1(X)
activate1(n__filter3(X1, X2, X3)) -> filter3(X1, X2, X3)
activate1(n__sieve1(X)) -> sieve1(X)
activate1(n__nats1(X)) -> nats1(X)
activate1(X) -> X
↳ QTRS
↳ DependencyPairsProof
filter3(cons2(X, Y), 0, M) -> cons2(0, n__filter3(activate1(Y), M, M))
filter3(cons2(X, Y), s1(N), M) -> cons2(X, n__filter3(activate1(Y), N, M))
sieve1(cons2(0, Y)) -> cons2(0, n__sieve1(activate1(Y)))
sieve1(cons2(s1(N), Y)) -> cons2(s1(N), n__sieve1(filter3(activate1(Y), N, N)))
nats1(N) -> cons2(N, n__nats1(s1(N)))
zprimes -> sieve1(nats1(s1(s1(0))))
filter3(X1, X2, X3) -> n__filter3(X1, X2, X3)
sieve1(X) -> n__sieve1(X)
nats1(X) -> n__nats1(X)
activate1(n__filter3(X1, X2, X3)) -> filter3(X1, X2, X3)
activate1(n__sieve1(X)) -> sieve1(X)
activate1(n__nats1(X)) -> nats1(X)
activate1(X) -> X
ACTIVATE1(n__nats1(X)) -> NATS1(X)
SIEVE1(cons2(s1(N), Y)) -> ACTIVATE1(Y)
FILTER3(cons2(X, Y), s1(N), M) -> ACTIVATE1(Y)
ZPRIMES -> SIEVE1(nats1(s1(s1(0))))
SIEVE1(cons2(0, Y)) -> ACTIVATE1(Y)
SIEVE1(cons2(s1(N), Y)) -> FILTER3(activate1(Y), N, N)
ZPRIMES -> NATS1(s1(s1(0)))
FILTER3(cons2(X, Y), 0, M) -> ACTIVATE1(Y)
ACTIVATE1(n__filter3(X1, X2, X3)) -> FILTER3(X1, X2, X3)
ACTIVATE1(n__sieve1(X)) -> SIEVE1(X)
filter3(cons2(X, Y), 0, M) -> cons2(0, n__filter3(activate1(Y), M, M))
filter3(cons2(X, Y), s1(N), M) -> cons2(X, n__filter3(activate1(Y), N, M))
sieve1(cons2(0, Y)) -> cons2(0, n__sieve1(activate1(Y)))
sieve1(cons2(s1(N), Y)) -> cons2(s1(N), n__sieve1(filter3(activate1(Y), N, N)))
nats1(N) -> cons2(N, n__nats1(s1(N)))
zprimes -> sieve1(nats1(s1(s1(0))))
filter3(X1, X2, X3) -> n__filter3(X1, X2, X3)
sieve1(X) -> n__sieve1(X)
nats1(X) -> n__nats1(X)
activate1(n__filter3(X1, X2, X3)) -> filter3(X1, X2, X3)
activate1(n__sieve1(X)) -> sieve1(X)
activate1(n__nats1(X)) -> nats1(X)
activate1(X) -> X
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
ACTIVATE1(n__nats1(X)) -> NATS1(X)
SIEVE1(cons2(s1(N), Y)) -> ACTIVATE1(Y)
FILTER3(cons2(X, Y), s1(N), M) -> ACTIVATE1(Y)
ZPRIMES -> SIEVE1(nats1(s1(s1(0))))
SIEVE1(cons2(0, Y)) -> ACTIVATE1(Y)
SIEVE1(cons2(s1(N), Y)) -> FILTER3(activate1(Y), N, N)
ZPRIMES -> NATS1(s1(s1(0)))
FILTER3(cons2(X, Y), 0, M) -> ACTIVATE1(Y)
ACTIVATE1(n__filter3(X1, X2, X3)) -> FILTER3(X1, X2, X3)
ACTIVATE1(n__sieve1(X)) -> SIEVE1(X)
filter3(cons2(X, Y), 0, M) -> cons2(0, n__filter3(activate1(Y), M, M))
filter3(cons2(X, Y), s1(N), M) -> cons2(X, n__filter3(activate1(Y), N, M))
sieve1(cons2(0, Y)) -> cons2(0, n__sieve1(activate1(Y)))
sieve1(cons2(s1(N), Y)) -> cons2(s1(N), n__sieve1(filter3(activate1(Y), N, N)))
nats1(N) -> cons2(N, n__nats1(s1(N)))
zprimes -> sieve1(nats1(s1(s1(0))))
filter3(X1, X2, X3) -> n__filter3(X1, X2, X3)
sieve1(X) -> n__sieve1(X)
nats1(X) -> n__nats1(X)
activate1(n__filter3(X1, X2, X3)) -> filter3(X1, X2, X3)
activate1(n__sieve1(X)) -> sieve1(X)
activate1(n__nats1(X)) -> nats1(X)
activate1(X) -> X
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ QDPOrderProof
SIEVE1(cons2(s1(N), Y)) -> ACTIVATE1(Y)
FILTER3(cons2(X, Y), s1(N), M) -> ACTIVATE1(Y)
SIEVE1(cons2(0, Y)) -> ACTIVATE1(Y)
SIEVE1(cons2(s1(N), Y)) -> FILTER3(activate1(Y), N, N)
FILTER3(cons2(X, Y), 0, M) -> ACTIVATE1(Y)
ACTIVATE1(n__filter3(X1, X2, X3)) -> FILTER3(X1, X2, X3)
ACTIVATE1(n__sieve1(X)) -> SIEVE1(X)
filter3(cons2(X, Y), 0, M) -> cons2(0, n__filter3(activate1(Y), M, M))
filter3(cons2(X, Y), s1(N), M) -> cons2(X, n__filter3(activate1(Y), N, M))
sieve1(cons2(0, Y)) -> cons2(0, n__sieve1(activate1(Y)))
sieve1(cons2(s1(N), Y)) -> cons2(s1(N), n__sieve1(filter3(activate1(Y), N, N)))
nats1(N) -> cons2(N, n__nats1(s1(N)))
zprimes -> sieve1(nats1(s1(s1(0))))
filter3(X1, X2, X3) -> n__filter3(X1, X2, X3)
sieve1(X) -> n__sieve1(X)
nats1(X) -> n__nats1(X)
activate1(n__filter3(X1, X2, X3)) -> filter3(X1, X2, X3)
activate1(n__sieve1(X)) -> sieve1(X)
activate1(n__nats1(X)) -> nats1(X)
activate1(X) -> X
The following pairs can be strictly oriented and are deleted.
The remaining pairs can at least by weakly be oriented.
ACTIVATE1(n__sieve1(X)) -> SIEVE1(X)
Used ordering: Combined order from the following AFS and order.
SIEVE1(cons2(s1(N), Y)) -> ACTIVATE1(Y)
FILTER3(cons2(X, Y), s1(N), M) -> ACTIVATE1(Y)
SIEVE1(cons2(0, Y)) -> ACTIVATE1(Y)
SIEVE1(cons2(s1(N), Y)) -> FILTER3(activate1(Y), N, N)
FILTER3(cons2(X, Y), 0, M) -> ACTIVATE1(Y)
ACTIVATE1(n__filter3(X1, X2, X3)) -> FILTER3(X1, X2, X3)
[SIEVE1, ACTIVATE1, FILTER1, 0, nsieve1, sieve1] > s
[nnats1, nats1] > s
activate1(n__filter3(X1, X2, X3)) -> filter3(X1, X2, X3)
activate1(n__sieve1(X)) -> sieve1(X)
activate1(n__nats1(X)) -> nats1(X)
activate1(X) -> X
nats1(N) -> cons2(N, n__nats1(s1(N)))
nats1(X) -> n__nats1(X)
sieve1(cons2(0, Y)) -> cons2(0, n__sieve1(activate1(Y)))
sieve1(cons2(s1(N), Y)) -> cons2(s1(N), n__sieve1(filter3(activate1(Y), N, N)))
sieve1(X) -> n__sieve1(X)
filter3(cons2(X, Y), 0, M) -> cons2(0, n__filter3(activate1(Y), M, M))
filter3(cons2(X, Y), s1(N), M) -> cons2(X, n__filter3(activate1(Y), N, M))
filter3(X1, X2, X3) -> n__filter3(X1, X2, X3)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ DependencyGraphProof
SIEVE1(cons2(s1(N), Y)) -> ACTIVATE1(Y)
FILTER3(cons2(X, Y), s1(N), M) -> ACTIVATE1(Y)
SIEVE1(cons2(0, Y)) -> ACTIVATE1(Y)
SIEVE1(cons2(s1(N), Y)) -> FILTER3(activate1(Y), N, N)
FILTER3(cons2(X, Y), 0, M) -> ACTIVATE1(Y)
ACTIVATE1(n__filter3(X1, X2, X3)) -> FILTER3(X1, X2, X3)
filter3(cons2(X, Y), 0, M) -> cons2(0, n__filter3(activate1(Y), M, M))
filter3(cons2(X, Y), s1(N), M) -> cons2(X, n__filter3(activate1(Y), N, M))
sieve1(cons2(0, Y)) -> cons2(0, n__sieve1(activate1(Y)))
sieve1(cons2(s1(N), Y)) -> cons2(s1(N), n__sieve1(filter3(activate1(Y), N, N)))
nats1(N) -> cons2(N, n__nats1(s1(N)))
zprimes -> sieve1(nats1(s1(s1(0))))
filter3(X1, X2, X3) -> n__filter3(X1, X2, X3)
sieve1(X) -> n__sieve1(X)
nats1(X) -> n__nats1(X)
activate1(n__filter3(X1, X2, X3)) -> filter3(X1, X2, X3)
activate1(n__sieve1(X)) -> sieve1(X)
activate1(n__nats1(X)) -> nats1(X)
activate1(X) -> X
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ QDPOrderProof
FILTER3(cons2(X, Y), s1(N), M) -> ACTIVATE1(Y)
FILTER3(cons2(X, Y), 0, M) -> ACTIVATE1(Y)
ACTIVATE1(n__filter3(X1, X2, X3)) -> FILTER3(X1, X2, X3)
filter3(cons2(X, Y), 0, M) -> cons2(0, n__filter3(activate1(Y), M, M))
filter3(cons2(X, Y), s1(N), M) -> cons2(X, n__filter3(activate1(Y), N, M))
sieve1(cons2(0, Y)) -> cons2(0, n__sieve1(activate1(Y)))
sieve1(cons2(s1(N), Y)) -> cons2(s1(N), n__sieve1(filter3(activate1(Y), N, N)))
nats1(N) -> cons2(N, n__nats1(s1(N)))
zprimes -> sieve1(nats1(s1(s1(0))))
filter3(X1, X2, X3) -> n__filter3(X1, X2, X3)
sieve1(X) -> n__sieve1(X)
nats1(X) -> n__nats1(X)
activate1(n__filter3(X1, X2, X3)) -> filter3(X1, X2, X3)
activate1(n__sieve1(X)) -> sieve1(X)
activate1(n__nats1(X)) -> nats1(X)
activate1(X) -> X
The following pairs can be strictly oriented and are deleted.
The remaining pairs can at least by weakly be oriented.
FILTER3(cons2(X, Y), s1(N), M) -> ACTIVATE1(Y)
FILTER3(cons2(X, Y), 0, M) -> ACTIVATE1(Y)
Used ordering: Combined order from the following AFS and order.
ACTIVATE1(n__filter3(X1, X2, X3)) -> FILTER3(X1, X2, X3)
[FILTER2, nfilter2]
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ DependencyGraphProof
ACTIVATE1(n__filter3(X1, X2, X3)) -> FILTER3(X1, X2, X3)
filter3(cons2(X, Y), 0, M) -> cons2(0, n__filter3(activate1(Y), M, M))
filter3(cons2(X, Y), s1(N), M) -> cons2(X, n__filter3(activate1(Y), N, M))
sieve1(cons2(0, Y)) -> cons2(0, n__sieve1(activate1(Y)))
sieve1(cons2(s1(N), Y)) -> cons2(s1(N), n__sieve1(filter3(activate1(Y), N, N)))
nats1(N) -> cons2(N, n__nats1(s1(N)))
zprimes -> sieve1(nats1(s1(s1(0))))
filter3(X1, X2, X3) -> n__filter3(X1, X2, X3)
sieve1(X) -> n__sieve1(X)
nats1(X) -> n__nats1(X)
activate1(n__filter3(X1, X2, X3)) -> filter3(X1, X2, X3)
activate1(n__sieve1(X)) -> sieve1(X)
activate1(n__nats1(X)) -> nats1(X)
activate1(X) -> X